Skip to main content

Cloudflare Database Options

The following table maps Cloudflare products to common use-cases:

Use-case Product Ideal for
Lightweight SQL databaseD1Relational data, including user profiles, product listings and orders, and/or customer data.
Key-value storageWorkers KVConfiguration data, service routing metadata, personalization (A/B testing)
Object storage / blob storageR2User-facing web assets, images, machine learning and training datasets, analytics datasets, log and event data.
Vector search & embeddings queriesVectorizeStoring embeddings from AI models for semantic search and classification tasks.
Image storageImagesGraphical web page content.